package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysUserRole;
import com.ruoyi.system.mapper.SysUserRoleMapper;
import com.ruoyi.system.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysUserRoleServiceImpl implements SysUserRoleService {

    @Autowired
    SysUserRoleMapper sysUserRoleMapper;
    @Override
    public int deleteUserRoleByUserId(Long userId) {
        return 0;
    }

    @Override
    public int deleteUserRole(Long[] ids) {
        return 0;
    }

    @Override
    public int countUserRoleByRoleId(Long roleId) {
        return 0;
    }

    @Override
    public int batchUserRole(List<SysUserRole> userRoleList) {

        return 0;
    }

    @Override
    public int deleteUserRoleInfo(SysUserRole userRole) {
        return 0;
    }

    @Override
    public int deleteUserRoleInfos(Long roleId, Long[] userIds) {
        return 0;
    }

    @Override
    public SysUserRole userRoleDc(Long userId) {
        return sysUserRoleMapper.userRoleDc(userId);
    }

    @Override
    public int inseUserandRole(SysUserRole sysUserRole) {
        return sysUserRoleMapper.inseUserandRole(sysUserRole);
    }

    @Override
    public int delUserandRole(Long userId) {
        return sysUserRoleMapper.delUserandRole(userId);
    }
}
